<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />

  <title></title>
</head>

<body>
  <script>
    /*判断电脑还是手机端*/
    function isPC() {
      var userAgentInfo = navigator.userAgent;
      var Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'];
      var flag = true;
      for (var v = 0; v < Agents.length; v++) {
        if (userAgentInfo.indexOf(Agents[v]) > 0) {
          flag = false;
          break;
        };
      };
      return flag;
    };
    function isIpad() {
      let flag = false
      var userAgentInfo = navigator.userAgent;
      if (userAgentInfo.indexOf('iPad') > 0) flag = true

      return flag;
    }

    if (isPC() || isIpad()) { //pc
      window.location.href = window.location.origin + '/pc.html';
    } else { //mobile
      window.location.href = window.location.origin + '/mobile.html';
    }
  </script>
  <noscript>
    <strong>We're sorry but iview-admin doesn't work properly without JavaScript
      enabled. Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>